package com.oop7.OldDriver;

public class TestOldDriver {

	public static void main(String[] args) {

		OldDriver d = new OldDriver("老李");

		Car c = new Car(5, 20);
		Plane p = new Plane(800, 30);
		Tank t = new Tank(15, 10);
		Tractor t1 = new Tractor(5.3, 3);
		Ship s = new Ship(1000.0, 300.0, 60);

		d.drive(c);
		d.drive(p);
		d.drive(s);
		d.drive(t);
		d.drive(t1);
	}

}
